import request from '@/utils/request'

// 查询【预定会议】列表
export function listOaMeetingRoomReserve(query) {
  return request({
    url: '/reserve/oaMeetingRoomReserve/list',
    method: 'get',
    params: query
  })
}

// 查询【预定会议】详细
export function getOaMeetingRoomReserve(id) {
  return request({
    url: '/reserve/oaMeetingRoomReserve/' + id,
    method: 'get'
  })
}

// 保存【预定会议】
export function saveOaMeetingRoomReserve(data) {
  return request({
    url: '/reserve/oaMeetingRoomReserve/save',
    method: 'post',
    data: data
  })
}

// 删除【预定会议】
export function delOaMeetingRoomReserve(id) {
  return request({
    url: '/reserve/oaMeetingRoomReserve/' + id,
    method: 'delete'
  })
}

// 导出【预定会议】
export function exportOaMeetingRoomReserve(query) {
  return request({
    url: '/reserve/oaMeetingRoomReserve/export',
    method: 'get',
    params: query
  })
}
